<%-- 
    Document   : FormUbahPaket
    Created on : 04 Des 12, 18:50:34
    Author     : wisnu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.Enumeration"%>
<%@page import="java.util.*"%>
<%@page import="com.bp.Paket" %>
<!DOCTYPE html>

<jsp:useBean id= "paket" scope= "application" class="com.bp.Paket"/>

<%
    String Id_paket = request.getParameter("id_paket");
    String nama_paket = request.getParameter("nama_paket");
    double harga_paket =Double.parseDouble(request.getParameter("harga_paket"));
    String lama = request.getParameter("lama");
    String lokasi = request.getParameter("lokasi");
    String fasilitas = request.getParameter("fasilitas");
    String tujuan = request.getParameter("tujuan");
%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Ubah Paket</title>
    </head>
    <body>
   <center> <a href="Admin.html"><img src="img/logo gredy.jpg" width="1350" height="120"/></a></center>
    <h1>Ubah paket Pariwisata</h1>
    <form method="post" action="ubahpaket">
 <%

                if (request.getAttribute("message") != null) {
                    out.print(request.getAttribute("message"));
                }
            %>
        <% com.bp.DbBean_1 kon = new com.bp.DbBean_1();%>

        <h3 algin ="Center"> Form Ubah Paket </h3>
        <table  align ="Center" border=2  bgcolor="F6F6F6">
            <tr>
                <td>Id Paket</td>
                <td>
                    <input type="text" name="id_paket" value="<%=Id_paket%>" size="15">
                </td>
            </tr>
            <tr>
                <td>Nama Paket</td>
                <td>
                    <input type="text" name="nama_paket" value="<%=nama_paket%>" size="15">
                </td>
            </tr>
            <tr>
                <td>Harga</td>
                <td>
                    <input type="text" name="harga_paket" value="<%=harga_paket%>" size="15">
                </td>
            </tr>
            <tr>
            <tr>
                <td>Lama</td>
                <td>
                    <input type="text" name="lama" value="<%=lama%>" size="15">
                </td>
            </tr>
            <tr>
                <td>Lokasi</td>
                <td>
                    <input type="text" name="lokasi" value="<%=lokasi%>" size="15">
                </td>
            </tr>
            <td>Fasilitas</td>
            <td>
                <textarea name="fasilitas" rows="5" cols="20"><%=fasilitas%>
                </textarea>
            </td>
            </tr>
            <tr>
                <td>Tujuan</td>
                <td>
                    <input type="text" name="tujuan" value="<%=tujuan%>" size="15">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <input type="submit" value="Ubah" size="20">
                </td>
            </tr>
        </table>
    </form>
                  </center>
<center>
    <br>
    <hr style="color: whitesmoke;" size=" 2px" >
    <br><div class="txt_content03"><b> BiroWisataGreedy.com
        Tel: 62-274-878555 (Hunting), 878777, 0274-70949944 Mobile: 0274-99681382, 99995259 Fax: 62-274-8355802 <br>

        Email: info@BiroWisataGreedy.com
        <br><br>
        Support by : <br>
        <a href="http://www.usd.ac.id" target="_blank">Universitas Sanata Dharma</a>
        <br>
        </div>
</body>
</html>